package v1

import "github.com/gogf/gf/v2/frame/g"

type LoginReq struct {
	g.Meta `path:"/login" method:"post" tags:"wxapp" summary:"小程序登陆"`
	Code   string `json:"code" v:"required"`
}

type LoginRes struct {
	Token    string `json:"token"`
	HasPhone bool   `json:"has_phone"`
}
